<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="format-detection" content="telephone=no">
<title>在线客服</title>
</head>
<body>
 
<script type="text/javascript" src="/public/static/js/core/jquery.min.js"></script>
<script type="text/javascript" src="/public/static/layer/layer.js"></script>

<link rel="stylesheet" href="/public/static/layui/css/layui.mobile.css">
<script type="text/javascript" src="/public/static/layui/layui.js"></script>
<script type="text/javascript">
{php}
$array=explode(',',trim(str_replace('，',',',$webdb['weixin_reply_kefu']?:1),','));
$kefu_id=$array[rand(0,count($array)-1)];
{/php}
{volist name="$array" id="kid"}
KF.kefu_list[{$kid}] = {:json_encode(['name'=>get_user($kid)['nickname'],'icon'=>tempdir(get_user($kid)['icon']),'sign'=>get_user($kid)['introduce'],])};
{/volist}
WS.link({
	kefu:{$kefu_id}
	,kefu_info:KF.kefu_list[{$kefu_id}]
	,userinfo:{:json_encode($userdb?fun('member@format',$userdb):['uid'=>0])}
	,my_uid:{$userdb.uid?:0}
	,ws_url:"{:fun('Gatewayclient@client_url')}",
});
</script>
<script LANGUAGE="JavaScript" src="__STATIC__/layui/wap_kefu.js"></script>
</body>
</html>
